<form id="add-form" class="form-horizontal form-ajax" role="form" data-toggle="validator" method="POST" action="">






    <div class="form-group">
        <label for="c-owner_user_id" class="control-label col-xs-12 col-sm-2">{:__('成交情况')}:</label>
        <div class="col-xs-12 col-sm-8 ">
            <label class="control-label">
            <small style="margin-left: 10px;" class=" label bg-purple">总消费：{$row.purchase_total}</small>
            <small style="margin-left: 10px;" class=" label bg-blue">下单：{$row.purchase_times}次</small></label>
            <small style="margin-left: 10px;" class=" label bg-green">
                {php}
                $deal_time= \addons\facrm\library\Helper::timeTran($row['deal_time']);
                echo  $deal_time?$deal_time.'下单':'无下单';
                {/php}
            </small>
            </label>
        </div>
    </div>


    <div class="form-group">
        <label for="c-money" class="control-label col-xs-12 col-sm-2">{:__('成交金额')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-money" data-rule="required"    class="form-control " name="money" type="text" value="" placeholder="{:__('请输入成交金额')}">
            <span class="help-block"></span>
        </div>
    </div>




    <div class="form-group hidden layer-footer">
        <div class="col-xs-2"></div>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
